<template>
	<scroll-view scroll-y class="content">
		<image :src="upload_wine" mode="widthFix"></image>
	</scroll-view>
</template>

<script setup>
	import {
		storeInfo
	} from "@/request/api";
	import {
		ref
	} from "vue";
	const props = defineProps({
		id: [String, Number]
	});
	let upload_wine = ref("");
	const getDeta = async () => {
		let {
			info: {
				introduce
			}
		} = await storeInfo({
			id: props.id
		});
		upload_wine.value = introduce;
	};
	getDeta();
</script>
<style scoped lang="scss">
	.content {
		height: calc(100vh - var(--window-top) - var(--window-bottom));

		image {
			width: 100%;
		}
	}
</style>